﻿#region Copyright
/* Product of DTL Software
 * Product Name : Support Memmory
 * Author : dinhtienlam.spkt@gmail.com
 * About: Developer of DTL Software
 * Contact : 0966 330 237
 */
#endregion

#region Add Reference of MVC#
using Lamdt.MVCSharp.Core;
using Lamdt.MVCSharp.Core.Tasks;
using Lamdt.MVCSharp.Core.Configuration.Tasks;
#endregion

namespace Lamdt.LogicLayer
{
    public class MainTask : dtlBaseTask
    {
        [IPoint(typeof(MainController), true)]
        public const string FormMainView = "FormMainView";

        #region Documentation
        /// <summary>
        /// Function define start form of project.
        /// </summary>
        /// <param name="param"></param> 
        #endregion
        public override void OnStart(object param)
        {
            base.OnStart(param);
            Navigator.NavigateDirectly(FormMainView);
        }
    }
}
